package com.xuecheng.content.domain.feignclient.fallback;

import com.xuecheng.content.domain.feignclient.MediaServiceClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-08-31  14:06
 */
@Slf4j
public class MediaServiceClientFallback implements MediaServiceClient {
    @Override
    public String upload(MultipartFile multipartFile, String objectName) {
        log.error("调用媒资管理服务上传文件时发生熔断");
        return null;
    }
}
